/*
 * cPlayer.h
 *
 *  Created on: 19.05.2012
 *      Author: NOR00
 */

#ifndef CPLAYER_H_
#define CPLAYER_H_

#include "cEntity.h"

namespace ants {

enum ePlayerStates {
	PlayerState_Wait,
	PlayerState_WalkStart,
	PlayerState_Walk,
	PlayerState_Sit
};

class cPlayer : public cEntity {
public:

	cPlayer();
	cPlayer(int x, int y, cTexture* tex);
	~cPlayer();

    void Update();

    void Move(int x, int y);

    void Control();
private:
	void Delete();

	void Initialize(cTexture* tex);
	ePlayerStates m_state;
};

}

#endif /* CPLAYER_H_ */
